package com.qfmy.model.entity.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity.query
 * @date 2025/4/16
 * @description 小说的搜索
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class BookQuery {
    @Schema(description = "小说名")
    private String bookName;

    @Schema(description = "作者名")
    private String author;

    @Schema(description = "小说类型")
    private Integer type;

    @Schema(description = "第几页")
    private Integer pageNum;

    @Schema(description = "每页多少条")
    private Integer size;
}
